
UInt="UInt";
SInt="SInt";
Enum="Enum List";
aString="String";		// use aString otherwise String object gets overridden
DosName="DosName";
Fixed ="Fixed";
BitMask="BitMask";
EEPROM = "EEPROM";
RAM = "RAM";
ROM = "ROM";

Hex="Hex";						// added type so output can be displayed easier
EnumHex="Enum List Hex";		// only case so far is "flty", the file type

ReadOnly="Read";
Write="Write";

/* NOTE:
 * a big note here, don't use String, otherwise the String object will disappear
 * and String.substring() et. all will not work!
 */
 
/* Note that types EnumHex, Fixed, BitMask, Hex
 * are types that should be displayed in hexadecimal notation
 */
 

State="State Commands";
Feature="Feature Commands";
GetProductInfo="GetProductInfo";
GetSpecification="GetSpecification";

var dc220 = new Array();
var dc260 = new Array();
var minolta   = new Array();
var parameterTag = new tag();	// Netscape 3.0 fix, create this object instead of using just tag

function tag(param,desc,host,type,def,min,max,fposComm,hostComm)
{
// note, don't use default (reserved word)
	this.param 	= param;
	this.desc	= desc;
	this.host	= host;
	this.type	= type;
	this.def	= def;
	this.min	= min;
	this.max	= max;

	this.fposComm	= fposComm;
	this.hostComm	= hostComm;

	return this;
}

function array2d(num)
{
	for(i=0 ; i< num ; i++)
	this[i] = new tag("rog",0,0,0,0,0,0,0);


 	return this;
}


/* NOTES to properly enter data 
 *
 *
   1) enter 0 for min,max instead of empty string, otherwise Netscape 3.0 complains
   2) use string for hexadecimal values, even for min,max value, this is taken care of in the code
   3) for Fixed BitMask (.def .min .max) , enter as '0x0004000'  (want these stripped in printf)
 *
 */


dc220["acpd"]=dc220[1] = new tag('"acpd"',"AC Power Down Timeout",		Write, UInt, 600,5,65535,	State,Feature);
dc220["acse"]=dc220[2] = new tag('"acse"',"AC Sleep Timeout Enable",	Write,Enum, 0,0,0,	State,Feature);
dc220[2].Disabled = 0;
dc220["actc"]=dc220[3] = new tag('"actc"',"AC Sleep Timeout",			Write,UInt, 600,5,65535,	State,Feature);
dc220["aelk"]=dc220[4] = new tag('"aelk"',"AE Lock Mode",				Write,Enum, 2,0,0,		State,Feature);
dc220[4].AE_Locked = 2;
dc220["aper"]=dc220[5] = new tag('"aper"',"Aperture",					Write,UInt, 400,400, 400,		State,Feature);
dc220["bccl"]=dc220[6] = new tag('"bccl"',"Burst Capture Color Mode",	Write,Enum, 1,0,0,	State,Feature);
dc220[6].Full=1;

dc220["bcpn"]=dc220[7] = new tag('"bcpn"',"Burst Capture Compression",	Write,Enum, 4,0,0,	State,Feature);
dc220[7].High=2; dc220[7].Normal=3; dc220[7].Low=4;

dc220["bsiz"]=dc220[8] = new tag('"bsiz"',"Burst Capture Size",			Write,Enum, 3,0,0,	State,Feature);
dc220[8].High =1; dc220[8].Standard=3;

dc220["btpd"]=dc220[9] = new tag('"btpd"',"Battery Power Down Timeout",		Write,UInt, 480,5, 65535,	State,Feature);
dc220["btse"]=dc220[10] = new tag('"btse"',"Battery Sleep Timeout Enable",	Write,Enum, 1,0, 0,		State,Feature);
dc220["btse"].Enabled =dc220[10].Enabled=1;
dc220["bttc"]=dc220[11] = new tag('"bttc"',"Battery Power Down Timeout",	Write,UInt, 120,5, 65535,	State,Feature);

dc220["cacn"]=dc220[12] = new tag('"cacn"',"Control App Copyright Notice",	ReadOnly,aString,'"(c)FlashPoint Technology"',0,0,GetProductInfo,Feature);
dc220["camf"]=dc220[13] = new tag('"camf"',"Camera Folder Name"	,			Write,		DosName, '"DC220_"',0,0,State,Feature);
dc220[13].test1='"Phoenix"'; dc220[13].test2='"Arizona"';

dc220["carv"]=dc220[14] = new tag('"carv"',"Control App Version",			ReadOnly,Hex, '0x01000000',0,0,	GetProductInfo,Feature);
dc220["cccn"]=dc220[15] = new tag('"cccn"',"CCS Copyright Notice",			ReadOnly,aString,'"EASTMAN KODAK COMPANY 1998"',0,0,GetProductInfo,Feature);
dc220["ccsv"]=dc220[16] = new tag('"ccsv"',"CCS Subsystem Version",			ReadOnly,Hex, '0x01000000',0, 0,	GetProductInfo,Feature);
dc220["cmne"]=dc220[17] = new tag('"cmne"',"User Defined Camera Name",		Write,aString,'"DC220"',0,0,	State,Feature);
dc220["cprt"]=dc220[18]= new tag('"cprt"',"User CopyRight Notice",			Write,aString,'"sample"',0,0	,State,Feature);
dc220["crst"]=dc220[19]= new tag('"crst"',"Image Counter Reset Mode",		Write,	Enum,		2,0,0			,State,Feature);
dc220[19].Reset_When_Empty=1;   dc220[19].Absolute=2;

dc220["dfmt"]=dc220[20]= new tag('"dfmt"',"Date Format",					Write,Enum,		1,0,0		,State,Feature);
dc220[20].Short_Date=1;   dc220[20].Abbreviated_Date=2;     dc220[20].Long_Date=3;

dc220["fbti"]=dc220[21]= new tag('"fbti"',"Full Burst Time Interval",		Write,UInt,		320,320,10000,    State,Feature);
dc220["fbti"].value1=dc220[21].value1 = 360;
dc220["fbti"].value2=dc220[21].value2 = 500;
dc220["fbti"].value3=dc220[21].value3 = 7500;


dc220["flty"]=dc220[22]= new tag('"flty"',"FileType",						Write,EnumHex,	'0x4A504547',0,0,State,Feature);
dc220[22].fpx='0x46505820';   dc220[22].jpg='0x4a504547';
dc220["fwcn"]=dc220[23]= new tag('"fwcn"',"Digita Copyright Notice",		ReadOnly,aString,'"(c)1998FlashPointTechnology"',0,0,GetProductInfo,GetSpecification);
dc220["fwrc"]=dc220[24]= new tag('"fwrv"',"Digita Firmware Version",		ReadOnly,Hex,		'0x01000000',0,0,GetProductInfo,GetSpecification);
dc220["hprs"]=dc220[25]= new tag('"hprs"',"Host PRAM Size",					ReadOnly,UInt,		32,0,0,GetProductInfo,GetSpecification);
dc220["hwrc"]=dc220[26]= new tag('"hwrv"',"Hardware Version",				ReadOnly,Hex,'0x10000000',0,0,GetProductInfo,GetSpecification);
dc220["ihtc"]=dc220[27]= new tag('"ihtc"',"Image Head timeout",				Write,UInt,8,0,63,State,Feature);
dc220["ipcn"]=dc220[28]= new tag('"ipcn"',"IPM Copyright Notice",			ReadOnly,aString,'"(c)EastmanKodakCompany"',0,0,GetProductInfo,GetSpecification);
dc220["iprn"]=dc220[29]= new tag('"iprn"',"IPM Subsystem Version",			ReadOnly,Hex,	'0x01000000',0,0,GetProductInfo,GetSpecification);
dc220["irev"]=dc220[30]= new tag('"irev"',"Instant Review Duration",		Write,UInt,	300,0,3000,State,Feature);
dc220["mcap"]=dc220[31]= new tag('"mcap"',"Media Type Capture Mode",		Write,Enum,	0,0,0,State,Feature);
dc220[31].Still=0;   dc220[31].Burst=1;  dc220[31].Timelapse=2; 

// mcro is DD220 only
dc220["mcro"]=dc220[32]= new tag('"mcro"',"Macro Mode",						Write,Enum,1,0,0,State,Feature)
dc220[32].Macro_off=1;    dc220[32].Macro_on=2;


dc220["mhbs"]=dc220[33]= new tag('"mhbs"',"Maximum Host Buffer Size",		Write,UInt,19456,10240,32768,State,Feature);
dc220["mtdy"]=dc220[34]= new tag('"mtdy"',"SelfTimer Time Count",			Write,UInt,10,1,60,State,Feature);
dc220["pbbr"]=dc220[35]= new tag('"pbbr"',"Burst Playback Interval",		Write,UInt,	3,1,10,State,Feature);
dc220["pbgr"]=dc220[36]= new tag('"pbgr"',"Group Playback Interval",		Write,UInt,	3,1,10,State,Feature);
dc220["pbtr"]=dc220[37]= new tag('"pbtr"',"Timelapse PlaybackInterval",		Write,UInt,	3,1,10,State,Feature);
dc220["pcnt"]=dc220[38]= new tag('"pcnt"',"Picture Taken Count",			ReadOnly,UInt,0,0,0,GetProductInfo,GetSpecification);
dc220["ptid"]=dc220[39]= new tag('"ptid"',"Product Name",					ReadOnly,aString,'"KODAK DIGITAL SCIENCE DC220"',0,0,GetProductInfo,GetSpecification);
dc220["qbti"]=dc220[40]= new tag('"qbti"',"Quarter Burst Time Interval",	Write,UInt,80,80,10000,State,Feature);
dc220["rams"]=dc220[41]= new tag('"rams"',"Application RAM Size",			ReadOnly,UInt,	4194304,0,0,GetProductInfo,GetSpecification);

dc220["rgnc"]=dc220[42]= new tag('"rgnc"',"Region Code"						,Write,Enum,	1,0,0,State,Feature);
dc220[42].English=1;   dc220[42].Japanese=8;

dc220["rmod"]=dc220[43]= new tag('"rmod"',"Auto Rotate Image"				,Write,Enum,	1,0,0,State,Feature);
dc220[43].Auto=1;    dc220[43].Landscape=2;

dc220["sccl"]=dc220[44]= new tag('"sccl"',"Still Capture Color Mode"		,Write,Enum,	1,0,0,State,Feature);
dc220["sccl"].Full=dc220[44].Full=1

dc220["scnt"]=dc220[45]= new tag('"scnt"',"Strobe Pictures Taken"			,ReadOnly,UInt,	0,0,1048575,GetProductInfo,GetSpecification);

dc220["scpn"]=dc220[46]= new tag('"scpn"',"Still  Capture Compression"		,Write,Enum,	4,0,0,State,Feature);
dc220[46].High=2;   dc220[46].Normal=3;   dc220[46].Low=4;

dc220["sern"]=dc220[47]= new tag('"sern"',"Camera Serial Number"			,ReadOnly,UInt,	'"XXXXXXXX"',0,0,GetProductInfo,GetSpecification);
dc220["shut"]=dc220[48]= new tag('"shut"',"Shutter Speed"					,Write,UInt,	500000,500000,16000000,State,Feature);
dc220["smod"]=dc220[49]= new tag('"smod"',"Strobe Mode"						,Write,Enum,	2,0,0,State,Feature);
dc220[49].Off=1;   dc220[49].Auto=2;   dc220[49].Fill=3;
dc220["spre"]=dc220[50]= new tag('"spre"',"Strobe Precount"	,UInt,			Write,0,0,1,State,Feature);
dc220["ssdr"]=dc220[51]= new tag('"ssdr"',"Slide Show Frame Interval"		,ReadOnly,UInt,	3,1,99,State,Feature);

dc220["ssis"]=dc220[52]= new tag('"ssis"',"Slide Show Image Sound"			,Write	,Enum,	1,0,0,State,Feature);
dc220[52].Off=0;   dc220[52].On=1;

dc220["ssiz"]=dc220[53]= new tag('"ssiz"',"Still Capture Size"				,Write	,Enum,	1,0,0,State,Feature);
dc220[53].High=1;   dc220[53].Standard=3;

dc220["sslp"]=dc220[54]= new tag('"sslp"',"Slide Show Loop Indicator"		,Write,Enum,	0,0,0,State,Feature);
dc220[54].Off=0;  dc220[54].On=1;
dc220["ssvl"]=dc220[55]= new tag('"ssvl"',"Shutter Sound Volume"			,Write	,UInt,	1,0,1,State,Feature);
dc220["stim"]=dc220[56]= new tag('"stim"',"Self Timer Enable"				,Write	,Enum,	0,0,0,State,Feature);
dc220[56].Off=0;  dc220[56].On=1;

dc220["tccl"]=dc220[57]= new tag('"tccl"',"Timelapse Capture Color Mode"	,Write	,Enum,	1,0,0,State,Feature);
dc220["tccl"].Full=dc220[57].Full=1;

dc220["tcnt"]=dc220[58]= new tag('"tcnt"',"Timelapse Images Capture Compression"	,Write	,UInt,	10,2,1000,State,Feature);
dc220["tcpn"]=dc220[59]= new tag('"tcpn"',"Timelapse Capture Compress"		,Write	,Enum,	4,0,0,State,Feature);
dc220[59].High=2;   dc220[59].Normal=3;  dc220[59].Low=4
dc220["tfmt"]=dc220[60]= new tag('"tfmt"',"TimeFormat"						,Write	,Enum,		1,0,0,State,Feature);
dc220[60].Hour_Minute=1;    dc220[60].Hour_Minute_Second=2;

dc220["tldy"]=dc220[61]= new tag('"tldy"',"Timelapse Capture Interval"		,Write	,UInt,	60,60,86400,State,Feature);
dc220["tsiz"]=dc220[62]= new tag('"tsiz"',"Timelapse Capture Size"			,Write	,Enum,		1,0,0,State,Feature);
dc220[62].High=1;   dc220[62].Standard=3;
dc220["ucrv"]=dc220[63]= new tag('"ucrv"',"Universal Command SetVersion"	,ReadOnly	,Hex,	0x01000000,0,0,GetProductInfo,GetSpecification);
dc220["vdid"]=dc220[64]= new tag('"vdid"',"Vendor Name"					,ReadOnly	,aString,'"Eastman Kodak Company"',0,0,GetProductInfo,GetSpecification);
dc220["vmod"]=dc220[65]= new tag('"vmod"',"Video Output Mode"			,Write	,Enum,		0,0,0,State,Feature);
dc220[65].NTSC=0;    dc220[65].PAL=1;
dc220["wbcb"]=dc220[66]= new tag('"wbcb"',"White Balance Blue"			,Write	,Fixed	,'0x00010000','0x00004000','0x00040000',State,Feature);
dc220["wbcg"]=dc220[67]= new tag('"wbcg"',"White Balance Green"			,Write	,Fixed	,'0x00010000','0x00004000','0x00040000',State,Feature);
dc220["wbcr"]=dc220[68]= new tag('"wbcr"',"White Balance Red"			,Write	,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
dc220["wena"]=dc220[69]= new tag('"wena"',"Watermark Enable"			,Write	,BitMask,	0,0,0,State,Feature);
dc220[69].Date=1 ;   dc220[69].Time=2; dc220[69].TimeDate=3;
dc220[69].Text=4 ; dc220[69].TextDate=5 ;   dc220[69].TextTime=6; dc220[69].TextTimeDate=7;

dc220["wmod"]=dc220[70]= new tag('"wmod"',"White Balance Mode"			,Write	,Enum,		1,0,0,State,Feature);
dc220[70].Auto=1;   dc220[70].Daylight=3;    dc220[70].Fluorescent=6; dc220[70].Tungsten=9;   dc220[70].Off=11;

dc220["wsbc"]=dc220[71]= new tag('"wsbc"',"Watermark Text Background"	,Write	,UInt,	7,0,7,State,Feature);
dc220["wsfc"]=dc220[72]= new tag('"wsfc"',"Watermark Text Foreground"	,Write	,UInt,	0,0,7,State,Feature);
dc220["wsop"]=dc220[73]= new tag('"wsop"',"Watermark Text Operation"	,Write	,Enum,	0,0,0,State,Feature);
dc220[73].Off=0;   dc220[73].On=1;
dc220["wstr"]=dc220[74]= new tag('"wstr"',"Watermark Text String"		,Write	,aString,'"watermark"',0,0,State,Feature);
dc220["wsxp"]=dc220[75]= new tag('"wsxp"',"Watermark Text XPosition"	,Write	,UInt,	4,0,100,State,Feature);
dc220["wsyp"]=dc220[76]= new tag('"wsyp"',"Watermark Text YPosition"	,Write	,UInt,	96,0,100,State,Feature);
dc220["wtbc"]=dc220[77]= new tag('"wtbc"',"Watermark Time Background"	,Write	,UInt,	7,0,7,State,Feature);
dc220["wtfc"]=dc220[78]= new tag('"wtfc"',"Watermark Time Foreground"	,Write	,UInt,	0,0,7,State,Feature);
dc220["wtop"]=dc220[79]= new tag('"wtop"',"Watermark Time Operation"	,Write	,Enum,	0,0,0,State,Feature);
dc220[79].off=0;   dc220[79].on=1;
dc220["wtxp"]=dc220[80]= new tag('"wtxp"',"Watermark Time XPosition"	,Write	,UInt,	96,0,100,State,Feature);
dc220["wtyp"]=dc220[81]= new tag('"wtyp"',"Watermark Time YPosition"	,Write	,UInt	,96,0,100,State,Feature);
dc220["xcmp"]=dc220[82]= new tag('"xcmp"',"Exposure Compensation"		,Write	,SInt,		0,-200,200,State,Feature);
dc220[82].test1=-100; dc220[82].test2=100;
dc220["xcmp"].value1 = dc220[82].value1=-150;
dc220["xcmp"].value2 = dc220[82].value2=-100;
dc220["xcmp"].value3 = dc220[82].value3=50;
dc220["xcmp"].value4 = dc220[82].value4=100;
dc220["xcmp"].value5 = dc220[82].value5=150;

dc220["xmod"]=dc220[83]= new tag('"xmod"',"Exposure Mode"				,Write	,Enum,		1,0,0,State,Feature);
dc220[83].Program_AE=1;   dc220[83].Long_Time_Exposure=2;

dc220["xmtd"]=dc220[84]= new tag('"xmtd"',"Exposure Method",			Write	,Enum,		3,0,0,State,Feature);
dc220["xmtd"].Center_Weighted_Matrix=dc220[84].Center_Weighted_Matrix= 3;
dc220["zpos"]=dc220[85]= new tag('"zpos"',"Zoom Position",				Write	,UInt,		100,100,200,State,Feature);


/* ************* KODAK DC260 PARAMETER ARRAY */
dc260["acpd"]=dc260[1] = new tag('"acpd"',"AC Power Down Timeout",			Write,UInt, 600,5,65535,State,Feature);
dc260["acse"]=dc260[2] = new tag('"acse"',"AC Sleep Timeout Enable",		Write,Enum, 0,0,0,State,Feature);
dc260[2].Disabled = 0;

dc260["actc"]=dc260[3] = new tag('"actc"',"AC Sleep Timeout",				Write,UInt, 600,5,65535,State,Feature);
dc260["aelk"]=dc260[4] = new tag('"aelk"',"AE Lock Mode",					Write,Enum, 2,0,0,State,Feature);
dc260[4].AE_Locked = 2;

// aflk is dc260 only
dc260["aflk"]=dc260[5] = new tag('"aflk"',"AF Lock Mode",					Write,Enum, 2,0,0,State,Feature);
dc260["aflk"].AF_Locked=dc260[5].AF_Locked = 2;

dc260["aper"]=dc260[6] = new tag('"aper"',"Aperture",						Write,UInt, 300,300, 2200,	State,Feature);
dc260["aper"].max2 = dc260[6].max2 = 1600;

dc260["bccl"]=dc260[7] = new tag('"bccl"',"Burst Capture Color Mode",		Write,	Enum, 1,0,0, State,Feature);
dc260[7].Full=1;

dc260["bcpn"]=dc260[8] = new tag('"bcpn"',"Burst Capture Compression",		Write,	Enum, 4,0,0, State,Feature);
dc260[8].High=2;   dc260[8].Normal=3;   dc260[8].Low=4;

dc260["bsiz"]=dc260[9] = new tag('"bsiz"',"Burst Capture Size",				Write,	Enum, 3,0,0,State,Feature);
dc260[9].High=1;   dc260[9].Medium=2;   dc260[9].Standard=3;

dc260["btpd"]=dc260[10] = new tag('"btpd"',"Battery Power Down Timeout",		Write,	UInt, 480,5, 65535,	State,Feature);
dc260["btse"]=dc260[11] = new tag('"btse"',"Battery Sleep Timeout Enable",		Write,Enum, 1,0, 0,		State,Feature);
dc260["btse"].Enabled = dc260[11].Enabled=1;
dc260["bttc"]=dc260[12] = new tag('"bttc"',"Battery Power Down Timeout",		Write,	UInt, 120,5, 65535,	State,Feature);
dc260["cacn"]=dc260[13] = new tag('"cacn"',"Control App Copyright Notice",		ReadOnly,aString,'"(c)FlashPoint Technology"',0,0,GetProductInfo,Feature);
dc260["camf"]=dc260[14] = new tag('"camf"',"Camera Folder Name",			Write,		DosName,'"DC220_"'," ", " ",	State,Feature);
dc260["carv"]=dc260[15] = new tag('"carv"',"Control App Version",			ReadOnly,Hex, '0x0100000',0,0,	GetProductInfo,Feature);
dc260["cccn"]=dc260[16] = new tag('"cccn"',"CCS Copyright Notice",			ReadOnly,aString,'"EASTMAN KODAK COMPANY 1998"',0,0,GetProductInfo,Feature);
dc260["ccsv"]=dc260[17] = new tag('"ccsv"',"CCS Subsystem Version",			ReadOnly,Hex, '0x01000000',0, 0,	GetProductInfo,Feature);
dc260["cmne"]=dc260[18] = new tag('"cmne"',"User Defined Camera Name",		Write,aString,'"DC220"',0,0,	State,Feature);
dc260["cprt"]=dc260[19]= new tag('"cprt"',"User CopyRight Notice",			Write,aString,'"sample"',0,0,State,Feature);
dc260["crst"]=dc260[20]= new tag('"crst"',"Image Counter Reset Mode",		Write,Enum,	2,0,0,State,Feature);
dc260[20].Reset_When_Empty=1;  dc260[20].Absolute_Count=2;
dc260["dfmt"]=dc260[21]= new tag('"dfmt"',"Date Format",					Write,Enum,	1,0,0,State,Feature);
dc260[21].Short_Date=1;   dc260[21].Abbreviated_Date=2;   dc260[21].Long_Date=3;


dc260["fbti"]=dc260[22]= new tag('"fbti"',"Full Burst Time Interval",		Write,UInt,	360,360,10000,    State,Feature);
dc260["fbti"].value1=dc260[22].value1 = 560;
dc260["fbti"].value2=dc260[22].value2 = 2500;
dc260["fbti"].value3=dc260[22].value3 = 7500;


// fdst is dC260 only
dc260["fdst"]=dc260[23]= new tag('"fdst"',"Focus Distance",				Write,UInt,300,30,65535,    State,Feature);
dc260["fdst"].min2 = dc260[23].min2=50;
// discrepancy in Excel spreadsheet and camera

dc260["flty"]=dc260[24]= new tag('"flty"',"FileType",					Write,EnumHex,'0x4A504547',0,0,State,Feature);
dc260[24].jpg='0x4a504547'; dc260[24].fpx='0x46505820';
//fmod, fmtd 260 only
dc260["fmod"]=dc260[25]= new tag('"fmod"',"Focus Mode",					Write, Enum,	1,0,0,State,Feature);
dc260[25].Auto=1;   dc260[25].Manual=3;
dc260["fmtd"]=dc260[26]= new tag('"fmtd"',"Focus Method",				Write, Enum,	1,0,0,State,Feature);
dc260[26].Multi_Spot=1;  dc260[26].Single_Spot=2;


dc260["fwcn"]=dc260[27]= new tag('"fwcn"',"Digita Copyright Notice"	,	ReadOnly,aString,'"(c)1998FlashPointTechnology"',0,0,GetProductInfo,GetSpecification);

dc260["fwrc"]=dc260[28]= new tag('"fwrv"',"Digita Firmware Version",	ReadOnly,Hex,		'0x01000000',0,0,GetProductInfo,GetSpecification);
dc260["hprs"]=dc260[29]= new tag('"hprs"',"Host PRAM Size",				ReadOnly,UInt,		32,0,0,GetProductInfo,GetSpecification);
dc260["hwrc"]=dc260[30]= new tag('"hwrv"',"Hardware Version",			ReadOnly,Hex,		'0x01000000',0,0,GetProductInfo,GetSpecification);
dc260["ihtc"]=dc260[31]= new tag('"ihtc"',"Image Head timeout"	,		Write,UInt,		8,0,63,State,Feature);
dc260["ipcn"]=dc260[32]= new tag('"ipcn"',"IPM Copyright Notice",		ReadOnly,aString,'"(c)EastmanKodakCompany"',0,0,GetProductInfo,GetSpecification);
dc260["iprn"]=dc260[33]= new tag('"iprn"',"IPM Subsystem Version",		ReadOnly,Hex,		0,0,0,GetProductInfo,GetSpecification);
dc260["irev"]=dc260[34]= new tag('"irev"',"Instant Review Duration"	,	Write,UInt,		300,0,3000,State,Feature);
dc260["mcap"]=dc260[35]= new tag('"mcap"',"Media Type Capture Mode"	,	Write,Enum,		0,0,0,State,Feature);
dc260[35].Still=0;  dc260[35].Burst=1;   dc260[35].Timelapse=2;
dc260["mhbs"]=dc260[36]= new tag('"mhbs"',"Maximum Host Buffer Size",	Write,UInt,19456,10240,32768,State,Feature);
// note that mcro (macro mode) is not on dc260


dc260["mtdy"]=dc260[37]= new tag('"mtdy"',"SelfTimer Time Count",			Write,UInt,		10,1,60,State,Feature);
dc260["pbbr"]=dc260[38]= new tag('"pbbr"',"Burst Playback Interval",		Write,UInt,		3,1,10,State,Feature);
dc260["pbgr"]=dc260[39]= new tag('"pbgr"',"Group Playback Interval",		Write,UInt,		3,1,10,State,Feature);
dc260["pbtr"]=dc260[40]= new tag('"pbtr"',"Timelapse PlaybackInterval",		Write,UInt,	3,1,10,State,Feature);
dc260["pcnt"]=dc260[41]= new tag('"pcnt"',"Picture Taken Count",			ReadOnly,UInt,	0,0,0,GetProductInfo,GetSpecification);
dc260["ptid"]=dc260[42]= new tag('"ptid"',"Product Name",					ReadOnly,aString,'"KODAK DIGITAL SCIENCE DC260"',0,0,GetProductInfo,GetSpecification);
dc260["qbti"]=dc260[43]= new tag('"qbti"',"Quarter Burst Time Interval"	,	Write,UInt,		360,360,10000,State,Feature);
dc260["rams"]=dc260[44]= new tag('"rams"',"Application RAM Size"	,		ReadOnly,UInt,		6291456,0,0,GetProductInfo,GetSpecification);
dc260["rgnc"]=dc260[45]= new tag('"rgnc"',"Region Code"	,					Write,Enum,		1,0,0,State,Feature);
dc260[45].English=1; dc260[45].Japanese=8;
dc260["rmod"]=dc260[46]= new tag('"rmod"',"Auto Rotate Image"	,			Write,Enum,		1,0,0,State,Feature);
dc260[46].Auto=1;     dc260[46].Landscape=2;


dc260["sccl"]=dc260[47]= new tag('"sccl"',"Still Capture Color Mode",		Write,Enum,	1,0,0,State,Feature);
dc260["sccl"].Full=dc260[47].Full=1


dc260["scnt"]=dc260[48]= new tag('"scnt"',"Strobe Pictures Taken",			ReadOnly,UInt,	0,0,1048575,GetProductInfo,GetSpecification);
dc260["scpn"]=dc260[49]= new tag('"scpn"',"Still  Capture Compression",		Write,Enum,4,0,0,State,Feature);
dc260[49].High=2;  dc260[49].Normal=3;   dc260[49].Low=4;
dc260["sern"]=dc260[50]= new tag('"sern"',"Camera Serial Number",			ReadOnly,UInt,'"XXXXXXXX"',0,0,GetProductInfo,GetSpecification);
dc260["shut"]=dc260[51]= new tag('"shut"',"Shutter Speed",					Write,UInt,	500000,500000,16000000,State,Feature);
dc260["smod"]=dc260[52]= new tag('"smod"',"Strobe Mode",					Write,Enum,	2,0,0,State,Feature);
dc260[52].Off=1;   dc260[52].Auto=2;   dc260[52].Fill=3;  dc260[52].XSync=5;

dc260["spre"]=dc260[53]= new tag('"spre"',"Strobe Precount",				Write,UInt,	0,0,1,State,Feature);
dc260["ssdr"]=dc260[54]= new tag('"ssdr"',"Slide Show Frame Interval",		Write,UInt,	3,1,99,State,Feature);

dc260["ssis"]=dc260[55]= new tag('"ssis"',"Slide Show Image Sound",			Write,Enum,	1,0,0,State,Feature);
dc260[55].Off=0;   dc260[55].On=1;

dc260["ssiz"]=dc260[56]= new tag('"ssiz"',"Still Capture Size",				Write,Enum,	1,0,0,State,Feature);
dc260[56].High=1;   dc260[56].Medium=2;   dc260[56].Standard=3;

dc260["sslp"]=dc260[57]= new tag('"sslp"',"Slide Show Loop Indicator",		Write,Enum,	0,0,0,State,Feature);
dc260[57].Off=0;    dc260[57].On=1;


dc260["ssvl"]=dc260[58]= new tag('"ssvl"',"Shutter Sound Volume",			Write,UInt,	1,0,0,State,Feature);
dc260[58].volumeMin=0;   dc260[58].volumeMax=1;
dc260["stim"]=dc260[59]= new tag('"stim"',"Self Timer Enable",				Write,Enum,	0,0,0,State,Feature);
dc260[59].Off=0;   dc260[59].On=1;

dc260["tccl"]=dc260[60]= new tag('"tccl"',"Timelapse Capture Color Mode",	Write,Enum,	1,0,0,State,Feature);
dc260["tccl"].Full=dc260[60].Full=1;

dc260["tcnt"]=dc260[61]= new tag('"tcnt"',"Timelapse Images Capture Compression"	,		Write,UInt,	10,2,1000,State,Feature);
dc260["tcpn"]=dc260[62]= new tag('"tcpn"',"Timelapse Capture Compress",		Write,Enum,	4,0,0,State,Feature);
dc260[62].High=2;   dc260[62].Normal=3;   dc260[62].Low=4;

dc260["tfmt"]=dc260[63]= new tag('"tfmt"',"TimeFormat",						Write,Enum,	1,0,0,State,Feature);
dc260[63].Hour_Minute=1;   dc260[63].Hour_Minute_Second=2;

dc260["tldy"]=dc260[64]= new tag('"tldy"',"Timelapse Capture Interval",		Write,UInt,	60,60,86400,State,Feature);
dc260["tsiz"]=dc260[65]= new tag('"tsiz"',"Timelapse Capture Size",			Write,Enum,		1,0,0,State,Feature);
dc260[65].High=1;   dc260[65].Medium=2;   dc260[65].Standard=3;

dc260["ucrv"]=dc260[66]= new tag('"ucrv"',"Universal Command SetVersion",	ReadOnly,Hex,	'0x01000000',0,0,GetProductInfo,GetSpecification);
dc260["vdid"]=dc260[67]= new tag('"vdid"',"Vendor Name",					ReadOnly,aString,'"Eastman Kodak Company"',0,0,GetProductInfo,GetSpecification);
dc260["vmod"]=dc260[68]= new tag('"vmod"',"Video Output Mode",			Write,Enum,		0,0,0,State,Feature);
dc260[68].NTSC=0;    dc260[68].PAL=1;

dc260["wbcb"]=dc260[69]= new tag('"wbcb"',"White Balance Blue",			Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
dc260["wbcg"]=dc260[70]= new tag('"wbcg"',"White Balance Green",		Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
dc260["wbcr"]=dc260[71]= new tag('"wbcr"',"White Balance Red",			Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
dc260["wena"]=dc260[72]= new tag('"wena"',"Watermark Enable",			Write,BitMask,	0,0,0,State,Feature);
dc260[72].Date=1 ;   dc260[72].Time=2; dc260[72].TimeDate=3;
dc260[72].Text=4 ; dc260[72].TextDate=5 ;   dc260[72].TextTime=6; dc260[72].TextTimeDate=7;

dc260["wmod"]=dc260[73]= new tag('"wmod"',"White Balance Mode",			Write,Enum,		1,0,0,State,Feature);
dc260[73].Auto=1;   dc260[73].Daylight=3;   dc260[73].Fluorescent=6;   dc260[73].Tungsten=9;   dc260[73].Off=11;

dc260["wpic"]=dc260[74]= new tag('"wpic"',"Watermark Logo File",			Write,DosName,'" "',0,0,State,Feature);
dc260["wpop"]=dc260[75]= new tag('"wpop"',"Watermark Logo Operation Mode",	Write,Enum,0,0,0,State,Feature);
dc260[75].off=0;   dc260[75].on=1;

dc260["wpxp"]=dc260[76]= new tag('"wpxp"',"Watermark Logo Y Position",		Write,UInt,4,0,100,State,Feature);
dc260["wpyp"]=dc260[77]= new tag('"wpyp"',"Watermark Logo Y Position",		Write,UInt,	4,0,100,State,Feature);

dc260["wsbc"]=dc260[78]= new tag('"wsbc"',"Watermark Text Background",		Write,UInt,	7,0,7,State,Feature);
dc260["wsfc"]=dc260[79]= new tag('"wsfc"',"Watermark Text Foreground",		Write,UInt,	0,0,7,State,Feature);
dc260["wsop"]=dc260[80]= new tag('"wsop"',"Watermark Text Operation",		Write,Enum,	0,0,0,State,Feature);
dc260[80].Off=0;    dc260[80].On=1;


dc260["wstr"]=dc260[81]= new tag('"wstr"',"Watermark Text String",			Write,aString,'"watermark"',0,0,State,Feature);
dc260["wsxp"]=dc260[82]= new tag('"wsxp"',"Watermark Text XPosition",		Write,UInt,	4,0,100,State,Feature);
dc260["wsyp"]=dc260[83]= new tag('"wsyp"',"Watermark Text YPosition",		Write,UInt,	96,0,100,State,Feature);
dc260["wtbc"]=dc260[84]= new tag('"wtbc"',"Watermark Time Background",		Write,UInt,	7,0,7,State,Feature);
dc260["wtfc"]=dc260[85]= new tag('"wtfc"',"Watermark Time Foreground",		Write,UInt,	0,0,7,State,Feature);
dc260["wtop"]=dc260[86]= new tag('"wtop"',"Watermark Time Operation",		Write,Enum,	0,0,1,State,Feature);
dc260[86].Off=0;   dc260[86].On=1;

dc260["wtxp"]=dc260[87]= new tag('"wtxp"',"Watermark Time X Position",		Write,UInt,	96,0,100,State,Feature);
dc260["wtyp"]=dc260[88]= new tag('"wtyp"',"Watermark Time Y Position",		Write,UInt,	96,0,100,State,Feature);
dc260["xcmp"]=dc260[89]= new tag('"xcmp"',"Exposure Compensation"	,		Write,SInt,	0,-200,200,State,Feature);
dc260["xcmp"].value1 = dc260[89].value1=-150;
dc260["xcmp"].value2 = dc260[89].value2=-100;
dc260["xcmp"].value3 = dc260[89].value3=50;
dc260["xcmp"].value4 = dc260[89].value4=100;
dc260["xcmp"].value5 = dc260[89].value5=150;

dc260["xmod"]=dc260[90]= new tag('"xmod"',"Exposure Mode",					Write,Enum,1,0,0,State,Feature);
dc260[90].Program_AE=1;   dc260[90].Long_Time_Exposure=2;   dc260[90].External_Flash_Sync=3;

dc260["xmtd"]=dc260[91]= new tag('"xmtd"',"Exposure Method",				Write,Enum,3,0,0,State,Feature);
dc260["xmtd"].Center_Weighted_Matrix=dc260[91].Center_Weighted_Matrix= 3;

dc260["zpos"]=dc260[92]= new tag('"zpos"',"Zoom Position",					Write,UInt,130,100,200,State,Feature);



/* ************* LEO PARAMETER ARRAY */



minolta[1] = new tag('"aagc"',"Analog AGC Specification",	Write,UInt, 0,0,0,State,Feature);
minolta[2] = new tag('"acpd"',"AC Power Down Timeout",			Write,UInt, 1800,5,65535,State,Feature);

minolta[3] = new tag('"acse"',"AC Sleep Timeout Enable",		Write,Enum, 0,0,0,State,Feature);
minolta[3].Disabled = 0;

minolta[4] = new tag('"actc"',"AC Sleep Timeout",				Write,UInt, 600,5,65535,State,Feature);

minolta[5] = new tag('"aelk"',"AE Lock Mode",					Write,Enum, 2,0,0,State,Feature);
minolta[5].AE_Locked = 2;

minolta[6] = new tag('"aflk"',"AF Lock Mode",					Write,Enum, 2,0,0,State,Feature);
minolta[7] = new tag('"aper"',"Aperture",		Write,			UInt, 400,400, 400,	State,Feature);

minolta[8] = new tag('"bccl"',"Color ",		Write,	Enum, 1,0,0, State,Feature);
minolta[8].Full=1;  minolta[8].BW=2;
minolta[9] = new tag('"bccr"',"Speed",		Write,	Enum, 1,0,0, State,Feature);  
minolta[9].fast=1;   minolta[9].medium=2;   minolta[9].slow=3;

minolta[10] = new tag('"bcpn"',"Burst Capture Compression",		Write,	Enum, 4,0,0, State,Feature);
minolta[10].SuperFine=5;   minolta[10].Fine=4;   minolta[10].Standard=3;   minolta[10].Economy=2;
minolta[11] = new tag('"bsiz"',"Image Size",		Write,	 	Enum, 2,0,0,		State,Feature);
minolta[11].Full=1;   minolta[11].Quarter=2;
minolta[12] = new tag('"btpd"',"Battery Power Down Timeout",		Write,	UInt, 360,5, 65535,	State,Feature);
minolta[13] = new tag('"btse"',"Battery Sleep Timeout Enable",		Write,Enum, 1,0, 0,		State,Feature);
minolta[13].Enabled=1;
minolta[14] = new tag('"bttc"',"Battery Power Down Timeout",		Write,	UInt, 180,5, 65535,	State,Feature);


minolta[15] = new tag('"cacn"',"Control App Copyright Notice",		ReadOnly,aString,'"(c)FlashPoint Technology"',0,0,GetProductInfo,Feature);
minolta[16] = new tag('"camf"',"Camera Folder Name",			Write,		DosName,'"DCAM_"'," ", " ",	State,Feature);
minolta[17] = new tag('"carv"',"Control App Version",			ReadOnly,Hex, '0x0100000',0,0,	GetProductInfo,Feature);
minolta[18] = new tag('"cccn"',"CCS Copyright Notice",			ReadOnly,aString,'"Minolta Co., Ltd. 1998"',0,0,GetProductInfo,Feature);
minolta[19] = new tag('"ccsv"',"CCS Subsystem Version",			ReadOnly,Hex, '0x01000000',0, 0,	GetProductInfo,Feature);
minolta[20] = new tag('"cmne"',"User Defined Camera Name",		Write,aString,'"CAMERA"',0,0,	State,Feature);

minolta[21] = new tag('"cmpn"',"Quality",		Write,Enum,4,0,0,	State,Feature);
minolta[21].Super_Fine=5; minolta[21].Fine=4; minolta[21].Standard=3; minolta[21].Economy=2;


minolta[22]= new tag('"cprt"',"User CopyRight Notice",			Write,aString,'"what?"',0,0,State,Feature);
minolta[23]= new tag('"crst"',"Image Counter Reset Mode",		Write,Enum,	2,0,0,State,Feature);
minolta[23].Reset_When_Empty=1;  minolta[23].Capture_Counter=2;

minolta[24]= new tag('"deft"',"Date Entry Format",		Write,Enum,	1,0,0,State,Feature);
minolta[24].monthDayYear=1;    minolta[24].dayMonthYear=2;    minolta[24].yearMonthDay=3;

minolta[25]= new tag('"dfmt"',"Date Format",		Write,Enum,	1,0,0,State,Feature);
minolta[25].Short_Date=1;   minolta[25].Abbreviated_Date=2;   minolta[25].Long_Date=3;

// what is the default internal storage name?
minolta[26]= new tag('"drdn"',"Default Internal Storage Name",		Write,aString,'"what?"',0,0,State,Feature);

minolta[27]= new tag('"exsa"',"Expansion Slots Available",		ReadOnly,UInt,	1,0,0,State,Feature);
minolta[28]= new tag('"fbti"',"Full Burst Time Interval",		Write,UInt,	320,320,10000,    State,Feature);
minolta[29]= new tag('"fdst"',"Focus Distance",				ReadOnly,UInt,0,0,0,    State,Feature);
// is this read only?

// or is this hex?
minolta[30]= new tag('"flty"',"FileType",					Write,Enum,'1246774599',0,0,State,Feature);
minolta[30].jpg='1246774599'; 

minolta[31]= new tag('"fmod"',"Focus Mode",					Write, Enum,	0,0,0,State,Feature);
minolta[32]= new tag('"fmtd"',"Focus Method",				Write,Enum,	0,0,0,State,Feature);


minolta[33]= new tag('"fwcn"',"Digita Copyright Notice"	,	ReadOnly,aString,'"(c)1998FlashPointTechnology"',0,0,GetProductInfo,GetSpecification);
minolta[34]= new tag('"fwrv"',"Digita Firmware Version",	ReadOnly,Hex,		'0x01000000',0,0,GetProductInfo,GetSpecification);
minolta[35]= new tag('"hint"',"Hint Mode",Write,Enum,	1,0,0,State,Feature);
minolta[35].Auto=1;  minolta[35].Portrait=2;  minolta[35].Landscape=3;  minolta[35].Evening=4;  minolta[35].Night=5;
minolta[35].SlowSync=8;

minolta[36]= new tag('"hprs"',"Host PRAM Size",				ReadOnly,UInt,		32,0,0,GetProductInfo,GetSpecification);

minolta[37]= new tag('"hwrv"',"Hardware Version",			ReadOnly,Hex,		'0x01000000',0,0,GetProductInfo,GetSpecification);
minolta[38]= new tag('"ihtc"',"Image Head timeout"	,		Write,UInt,		8,0,63,State,Feature);


minolta[39]= new tag('"impn"',"Bit Depth",		Write,Enum,		1,0,0,   State,  Feature);
minolta[39].color_24bit=1;   minolta[39].grayscale_8bit=2;

minolta[40]= new tag('"ipcn"',"IPM Copyright Notice",		ReadOnly,aString,'"(c)FlashPoint Technology"',0,0,GetProductInfo,GetSpecification);
minolta[41]= new tag('"iprn"',"IPM Subsystem Version",		ReadOnly,Hex,		0,0,0,GetProductInfo,GetSpecification);
minolta[42]= new tag('"irev"',"Instant Review "	,	Write,Enum,		1000,0,0,State,Feature);
minolta[42].Off=0;   minolta[42].On=1000;
minolta[43]= new tag('"mcap"',"Media Type Capture Mode"	,	Write,Enum,		0,0,0,State,Feature);
minolta[43].Still=0;  minolta[43].Burst=1;   minolta[43].Timelapse=2;

minolta[44]= new tag('"mcro"',"Macro Mode",	Write,Enum,1,0,0,State,Feature);
minolta[44].Macro_Off=1;  minolta[44].Macro_On=2;

minolta[45]= new tag('"mhbs"',"Maximum Host Buffer Size",	Write,UInt,19456,10240,32768,State,Feature);
minolta[46]= new tag('"mtdy"',"SelfTimer Time Count",			Write,UInt,		10,1,60,State,Feature);
minolta[47]= new tag('"pbbr"',"Burst Playback Interval",		Write,UInt,		3,1,10,State,Feature);
minolta[48]= new tag('"pbgr"',"Group Playback Interval",		Write,UInt,		3,1,10,State,Feature);
minolta[49]= new tag('"pbtr"',"Timelapse PlaybackInterval",		Write,UInt,	3,1,10,State,Feature);

// read only? maybe?
minolta[50] = new tag('"pchc"',"Patch Count",		Write,UInt,	1,0,0,State,Feature);

// this is probably read only?
minolta[51]= new tag('"pcnt"',"Picture Taken Count",		ReadOnly,	UInt,	0,0,0,GetProductInfo,GetSpecification);
minolta[52] = new tag('"pgms"',"Program Shift",		Write,UInt,	0,0,0,State,Feature);

// HEY! there's a name change here pbtr is now pgms


minolta[53]= new tag('"ptid"',"Product Name",			ReadOnly,aString,'"Dimage EX"',0,0,GetProductInfo,GetSpecification);
minolta[54]= new tag('"qbti"',"Quarter Burst Time Interval"	,	Write,UInt,	80,80,10000,State,Feature);
minolta[55]= new tag('"rams"',"Application RAM Size",	ReadOnly,UInt,	4194304,0,0,GetProductInfo,GetSpecification);

minolta[56]= new tag('"rgnc"',"Region Code"	,					Write,Enum,		1,0,0,State,Feature);
minolta[56].USEnglish=1;  minolta[56].French=3;  minolta[56].German=6; minolta[56].Japanese=8;

minolta[57]= new tag('"rmod"',"Auto Rotate Image",			Write,Enum,		1,0,0,State,Feature);
minolta[57].Auto=1;     minolta[57].Landscape=2;

minolta[58]= new tag('"rpos"',"Review/Play Overlay Specification",			Write,Enum,		1,0,0,State,Feature);
minolta[58].Off=0;  minolta[58].On=1;
minolta[59]= new tag('"sccl"',"Color",		Write,Enum,	1,0,0,State,Feature);
minolta[59].Full=1;  minolta[59].BlackWhite=2;

minolta[60]= new tag('"scmp"',"Strobe Compensation",		Write,UInt,	0,0,0,State,Feature);

minolta[61]= new tag('"scnt"',"Strobe Pictures Taken",			ReadOnly,UInt,	0,0,0,GetProductInfo,GetSpecification);
minolta[62]= new tag('"scpn"',"Quality",		Write,Enum,4,0,0,State,Feature);
minolta[62].SuperFine=5;  minolta[62].Fine=4;   minolta[62].Standard=3; minolta[62].Economy=2;

minolta[63]= new tag('"sern"',"Camera Serial Number",			ReadOnly,UInt,'"XXXXXXXX"',0,0,GetProductInfo,GetSpecification);
minolta[64]= new tag('"shut"',"Shutter Speed",					Write,UInt,	500000,500000,16000000,State,Feature);
minolta[65]= new tag('"smod"',"Strobe Mode",					Write,Enum,	2,0,0,State,Feature);
minolta[65].Off=1;   minolta[65].Auto=2;   minolta[65].Fill=3;

minolta[66]= new tag('"spre"',"Strobe Precount",				Write,UInt,	0,0,1,State,Feature);

// additons from page 1
minolta[67]= new tag('"ssct"',"Slide Show Content",		Write,Enum,	2,0,0,State,Feature);
minolta[67].Category=1;  minolta[67].All=2;

minolta[68]= new tag('"sscs"',"Slide Show Content String",		Write,aString,'"show?"',0,0,State,Feature);

// ****

minolta[69]= new tag('"ssdr"',"Slide Show Frame Interval",		Write,UInt,	3,1,10,State,Feature);

minolta[70]= new tag('"ssis"',"Slide Show Image Sound",			Write,Enum,	1,0,0,State,Feature);
minolta[70].Off=0;   

minolta[71]= new tag('"ssiz"',"Image Size",				Write,Enum,	1,0,0,State,Feature);
minolta[71].Full=1;   minolta[71].Quarter=2;  

minolta[72]= new tag('"sslp"',"Slide Show Loop Indicator",		Write,Enum,	0,0,0,State,Feature);
minolta[72].Off=0;    minolta[72].On=1;

minolta[73]= new tag('"ssnd"',"Shutter Sound Specification",			Write,Enum,	0,0,0,State,Feature);
minolta[73].Shutter_Sound=0;

minolta[74]= new tag('"ssvl"',"System Sounds",			Write,Enum,	1,0,0,State,Feature);
minolta[74].Off=0; minolta[74].On=1;

minolta[75]= new tag('"stim"',"Self Timer Enable",				Write,Enum,	0,0,0,State,Feature);
minolta[75].Off=0;   minolta[75].On=1;

minolta[76]= new tag('"tccl"',"Color",	Write,Enum,	1,0,0,State,Feature);
minolta[76].Full=1;   minolta[76].BlackWhite=2;

minolta[77]= new tag('"tcnt"',"# Images"	,		Write,UInt,	30,2,1000,State,Feature);
minolta[78]= new tag('"tcpn"',"Quality",	Write,Enum,	4,0,0,State,Feature);
minolta[78].SuperFine=5;   minolta[78].Fine=4;   minolta[78].Standard=3;   minolta[78].Economy=2;

minolta[79]= new tag('"teft"',"Time Entry Format",		Write,Enum,	1,0,0,State,Feature);
minolta[79].HHMM=1; minolta[79].HH24MM=2;

minolta[80]= new tag('"tfmt"',"TimeFormat",						Write,Enum,	1,0,0,State,Feature);
minolta[80].Seconds=1;   minolta[80].Minutes=2;

minolta[81]= new tag('"tldy"',"Interval",		Write,UInt,	60,1,86400,State,Feature);
minolta[82]= new tag('"tsiz"',"Image Size",			Write,Enum,		1,0,0,State,Feature);
minolta[82].Full=1;   minolta[82].Quarter=2;  

minolta[83]= new tag('"ucrv"',"Universal Command SetVersion",	ReadOnly,Hex,	'0x01000000',0,0,GetProductInfo,GetSpecification);
minolta[84]= new tag('"vdid"',"Vendor Name",					ReadOnly,aString,'"Minolta Co."',0,0,GetProductInfo,GetSpecification);
minolta[85]= new tag('"vmod"',"Video Output Mode",			Write,Enum,		0,0,0,State,Feature);
minolta[85].NTSC=0;    minolta[85].PAL=1;

minolta[86]= new tag('"wbcb"',"White Balance Blue",			Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
minolta[87]= new tag('"wbcg"',"White Balance Green",		Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
minolta[88]= new tag('"wbcr"',"White Balance Red",			Write,Fixed,		'0x00010000','0x00004000','0x00040000',State,Feature);
minolta[89]= new tag('"wena"',"Watermark Enable",			Write,BitMask,	0,0,0,State,Feature);
minolta[89].Date=1 ;   minolta[89].Time=2; minolta[89].TimeDate=3;
minolta[89].Text=4 ; minolta[89].TextDate=5 ;   minolta[89].TextTime=6; minolta[89].TextTimeDate=7;

minolta[90]= new tag('"wmod"',"White Balance Mode",			Write,Enum,		1,0,0,State,Feature);
minolta[90].Auto=1;   minolta[90].Daylight=3;   minolta[90].Fluorescent=6;   minolta[90].Tungsten=9;
//   minolta[90].Off=11;



minolta[91]= new tag('"wsbc"',"Watermark Text Background",		Write,UInt,	7,0,7,State,Feature);
minolta[92]= new tag('"wsfc"',"Watermark Text Foreground",		Write,UInt,	0,0,7,State,Feature);

minolta[93]= new tag('"wsfn"',"Watermark Text Font code",		Write,UInt,	1,1,2,State,Feature);


minolta[94]= new tag('"wsop"',"Watermark Text Operation",		Write,Enum,	0,0,0,State,Feature);
minolta[94].Off=0;    minolta[94].On=1;
minolta[95]= new tag('"wstr"',"Watermark Text String",			Write,aString,'"watermark"',0,0,State,Feature);

minolta[96]= new tag('"wsts"',"Watermark Text Font Size",		Write,Enum,	1,0,0,State,Feature);
minolta[96].HighRes=48; minolta[96].StdRes=24;


minolta[97]= new tag('"wsxp"',"Watermark Text XPosition",		Write,UInt,	4,0,100,State,Feature);
minolta[98]= new tag('"wsyp"',"Watermark Text YPosition",		Write,UInt,	96,0,100,State,Feature);
minolta[99]= new tag('"wtbc"',"Watermark Time Background",		Write,UInt,	7,0,7,State,Feature);
minolta[100]= new tag('"wtfc"',"Watermark Time Foreground",		Write,UInt,	0,0,7,State,Feature);

minolta[101]= new tag('"wtfn"',"Watermark Time Font Code",		Write,UInt,	0,0,7,State,Feature);

minolta[102]= new tag('"wtop"',"Watermark Time Operation",		Write,Enum,	0,0,1,State,Feature);
minolta[102].Off=0;   minolta[102].On=1;

minolta[103]= new tag('"wtts"',"Watermark Time Font Size",		Write,Enum,	24,0,0,State,Feature);
minolta[103].HighRes=48; minolta[103].StdRes=24;

minolta[104]= new tag('"wtxp"',"Watermark Time X Position",		Write,UInt,	96,0,100,State,Feature);
minolta[105]= new tag('"wtyp"',"Watermark Time Y Position",		Write,UInt,	96,0,100,State,Feature);
minolta[106]= new tag('"xcmp"',"Exposure Compensation"	,		Write,SInt,	0,-200,200,State,Feature);
minolta[107]= new tag('"xmod"',"Exposure Mode",					Write,Enum,1,0,0,State,Feature);
minolta[107].Program_AE=1;   minolta[107].Long_Time_Exposure=2; 

minolta[108]= new tag('"xmtd"',"Exposure Method",				Write,Enum,3,0,0,State,Feature);
minolta[108].CenterWeightedMatrix=3;

minolta[109]= new tag('"zpos"',"Zoom Position",					Write,UInt,130,100,200,State,Feature);
minolta[110]= new tag('"zspd"',"Zoom Speed",		Write,UInt,100,100,300,State,Feature);


// ******************************************************************
//minolta[74]= new tag('"wpic"',"Watermark Logo File",			Write,DosName,'" "',0,0,State,Feature);
//minolta[75]= new tag('"wpop"',"Watermark Logo Operation Mode",	Write,Enum,0,0,0,State,Feature);
//minolta[75].off=0;   minolta[75].on=1;

//minolta[76]= new tag('"wpxp"',"Watermark Logo Y Position",		Write,UInt,4,0,100,State,Feature);
//minolta[77]= new tag('"wpyp"',"Watermark Logo Y Position",		Write,UInt,	4,0,100,State,Feature);


function writeTags(a)
{
var i;


for ( i=1; i< a.length;i++) 
{

	print(i, ')');
 	print(a[i].param, '  ' );
 	print(a[i].desc, '  '   );
  	print(a[i].type, '  '   );

  	print( a[i].def, '  '   ); 
  	print( a[i].min, '  '   );
  	print( a[i].max, '  '   );

 	print( a[i].fposComm, '  '  );
  	print( a[i].hostComm,  '  '  );
 	print('<br>' );

}

}
